package com.xiaomengkuan.comment.service;

import com.xiaomengkuan.comment.entity.ro.CommentPageRo;
import com.xiaomengkuan.comment.entity.vo.CommentResponseVo;
import com.xiaomengkuan.common.entity.vo.PageVo;

import java.util.List;
import java.util.Map;

/**
 * @author Faraj Mujey
 * -- Creation Time: 2021-01-27 1:37 下午, File Encoding: utf8 --
 */
public interface CommentService {
    List<CommentResponseVo> getProductComments(String id);

    boolean commit(Map<String, Object> requestBody);

    boolean replay(Map<String, String> requestBody);

    PageVo<CommentResponseVo> page(CommentPageRo commentPageRo);

    PageVo<CommentResponseVo> getReplayCommentsPage(Map<String, Object> requestBody);

    Integer commentCount(String userId);
}
